package com.lvmama.java.rhino.spark.entity;

/**
 * 支付日志
 * Created by lvzimin on 16/1/11.
 */
public class PaymentLog extends AccessLog {

	private static final long serialVersionUID = -1138479825277059487L;

	/**
     * 订单号
     */
    public Long orderId;

    /**
     * 支付金额
     */
    public Long payAmount;

    public String toLogStr(String seperator) {
        StringBuilder builder = new StringBuilder();
        builder.append(super.toLogStr(seperator));
        builder.append(orderId).append(seperator);
        builder.append(payAmount).append(seperator);
        return builder.toString();
    }

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Long getPayAmount() {
		return payAmount;
	}

	public void setPayAmount(Long payAmount) {
		this.payAmount = payAmount;
	}
}
